﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Com.Ompchina.Lib.Net;
using BLL.Config;
using Model.Config;
namespace Com.Ompchina.Web.UIControl
{
    public partial class TermMenu : System.Web.UI.UserControl
    {
        public int ParentTermID { get; set; }
        public TermInfo ParentTerm { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {            
            ParentTerm = new TermBLL().GetTermByID(ParentTermID);
        }
        protected IList<TermInfo> _GetTerm() 
        {
            return new TermBLL().ListTermByParentID(ParentTermID);
        }
    }
}